package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizTargetCheckExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizTargetCheckExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }



        public Criteria andIsSignNotEqualTo(Byte value) {
            addCriterion("is_sign <>", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignGreaterThan(Byte value) {
            addCriterion("is_sign >", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_sign >=", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignLessThan(Byte value) {
            addCriterion("is_sign <", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignLessThanOrEqualTo(Byte value) {
            addCriterion("is_sign <=", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignIn(List<Byte> values) {
            addCriterion("is_sign in", values, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignNotIn(List<Byte> values) {
            addCriterion("is_sign not in", values, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignBetween(Byte value1, Byte value2) {
            addCriterion("is_sign between", value1, value2, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignNotBetween(Byte value1, Byte value2) {
            addCriterion("is_sign not between", value1, value2, "isSign");
            return (Criteria) this;
        }

        public Criteria andBusinessModeIsNull() {
            addCriterion("business_mode is null");
            return (Criteria) this;
        }

        public Criteria andBusinessModeIsNotNull() {
            addCriterion("business_mode is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessModeEqualTo(Byte value) {
            addCriterion("business_mode =", value, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeNotEqualTo(Byte value) {
            addCriterion("business_mode <>", value, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeGreaterThan(Byte value) {
            addCriterion("business_mode >", value, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeGreaterThanOrEqualTo(Byte value) {
            addCriterion("business_mode >=", value, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeLessThan(Byte value) {
            addCriterion("business_mode <", value, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeLessThanOrEqualTo(Byte value) {
            addCriterion("business_mode <=", value, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeIn(List<Byte> values) {
            addCriterion("business_mode in", values, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeNotIn(List<Byte> values) {
            addCriterion("business_mode not in", values, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeBetween(Byte value1, Byte value2) {
            addCriterion("business_mode between", value1, value2, "businessMode");
            return (Criteria) this;
        }

        public Criteria andBusinessModeNotBetween(Byte value1, Byte value2) {
            addCriterion("business_mode not between", value1, value2, "businessMode");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartIsNull() {
            addCriterion("available_time_start is null");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartIsNotNull() {
            addCriterion("available_time_start is not null");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartEqualTo(String value) {
            addCriterion("available_time_start =", value, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartNotEqualTo(String value) {
            addCriterion("available_time_start <>", value, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartGreaterThan(String value) {
            addCriterion("available_time_start >", value, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartGreaterThanOrEqualTo(String value) {
            addCriterion("available_time_start >=", value, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartLessThan(String value) {
            addCriterion("available_time_start <", value, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartLessThanOrEqualTo(String value) {
            addCriterion("available_time_start <=", value, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartLike(String value) {
            addCriterion("available_time_start like", value, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartNotLike(String value) {
            addCriterion("available_time_start not like", value, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartIn(List<String> values) {
            addCriterion("available_time_start in", values, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartNotIn(List<String> values) {
            addCriterion("available_time_start not in", values, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartBetween(String value1, String value2) {
            addCriterion("available_time_start between", value1, value2, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeStartNotBetween(String value1, String value2) {
            addCriterion("available_time_start not between", value1, value2, "availableTimeStart");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndIsNull() {
            addCriterion("available_time_end is null");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndIsNotNull() {
            addCriterion("available_time_end is not null");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndEqualTo(String value) {
            addCriterion("available_time_end =", value, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndNotEqualTo(String value) {
            addCriterion("available_time_end <>", value, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndGreaterThan(String value) {
            addCriterion("available_time_end >", value, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndGreaterThanOrEqualTo(String value) {
            addCriterion("available_time_end >=", value, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndLessThan(String value) {
            addCriterion("available_time_end <", value, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndLessThanOrEqualTo(String value) {
            addCriterion("available_time_end <=", value, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndLike(String value) {
            addCriterion("available_time_end like", value, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndNotLike(String value) {
            addCriterion("available_time_end not like", value, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndIn(List<String> values) {
            addCriterion("available_time_end in", values, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndNotIn(List<String> values) {
            addCriterion("available_time_end not in", values, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndBetween(String value1, String value2) {
            addCriterion("available_time_end between", value1, value2, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAvailableTimeEndNotBetween(String value1, String value2) {
            addCriterion("available_time_end not between", value1, value2, "availableTimeEnd");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitIsNull() {
            addCriterion("is_multi_unit is null");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitIsNotNull() {
            addCriterion("is_multi_unit is not null");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitEqualTo(Byte value) {
            addCriterion("is_multi_unit =", value, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitNotEqualTo(Byte value) {
            addCriterion("is_multi_unit <>", value, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitGreaterThan(Byte value) {
            addCriterion("is_multi_unit >", value, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_multi_unit >=", value, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitLessThan(Byte value) {
            addCriterion("is_multi_unit <", value, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitLessThanOrEqualTo(Byte value) {
            addCriterion("is_multi_unit <=", value, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitIn(List<Byte> values) {
            addCriterion("is_multi_unit in", values, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitNotIn(List<Byte> values) {
            addCriterion("is_multi_unit not in", values, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitBetween(Byte value1, Byte value2) {
            addCriterion("is_multi_unit between", value1, value2, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andIsMultiUnitNotBetween(Byte value1, Byte value2) {
            addCriterion("is_multi_unit not between", value1, value2, "isMultiUnit");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNull() {
            addCriterion("dept_id is null");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNotNull() {
            addCriterion("dept_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeptIdEqualTo(Integer value) {
            addCriterion("dept_id =", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotEqualTo(Integer value) {
            addCriterion("dept_id <>", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThan(Integer value) {
            addCriterion("dept_id >", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("dept_id >=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThan(Integer value) {
            addCriterion("dept_id <", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThanOrEqualTo(Integer value) {
            addCriterion("dept_id <=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdIn(List<Integer> values) {
            addCriterion("dept_id in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotIn(List<Integer> values) {
            addCriterion("dept_id not in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdBetween(Integer value1, Integer value2) {
            addCriterion("dept_id between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotBetween(Integer value1, Integer value2) {
            addCriterion("dept_id not between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Byte value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Byte value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Byte value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Byte value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Byte value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Byte> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Byte> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Byte value1, Byte value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andIsOpenIsNull() {
            addCriterion("is_open is null");
            return (Criteria) this;
        }

        public Criteria andIsOpenIsNotNull() {
            addCriterion("is_open is not null");
            return (Criteria) this;
        }

        public Criteria andIsOpenEqualTo(Byte value) {
            addCriterion("is_open =", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenNotEqualTo(Byte value) {
            addCriterion("is_open <>", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenGreaterThan(Byte value) {
            addCriterion("is_open >", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_open >=", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenLessThan(Byte value) {
            addCriterion("is_open <", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenLessThanOrEqualTo(Byte value) {
            addCriterion("is_open <=", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenIn(List<Byte> values) {
            addCriterion("is_open in", values, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenNotIn(List<Byte> values) {
            addCriterion("is_open not in", values, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenBetween(Byte value1, Byte value2) {
            addCriterion("is_open between", value1, value2, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenNotBetween(Byte value1, Byte value2) {
            addCriterion("is_open not between", value1, value2, "isOpen");
            return (Criteria) this;
        }

        public Criteria andSignupCountIsNull() {
            addCriterion("signup_count is null");
            return (Criteria) this;
        }

        public Criteria andSignupCountIsNotNull() {
            addCriterion("signup_count is not null");
            return (Criteria) this;
        }

        public Criteria andSignupCountEqualTo(Integer value) {
            addCriterion("signup_count =", value, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountNotEqualTo(Integer value) {
            addCriterion("signup_count <>", value, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountGreaterThan(Integer value) {
            addCriterion("signup_count >", value, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("signup_count >=", value, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountLessThan(Integer value) {
            addCriterion("signup_count <", value, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountLessThanOrEqualTo(Integer value) {
            addCriterion("signup_count <=", value, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountIn(List<Integer> values) {
            addCriterion("signup_count in", values, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountNotIn(List<Integer> values) {
            addCriterion("signup_count not in", values, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountBetween(Integer value1, Integer value2) {
            addCriterion("signup_count between", value1, value2, "signupCount");
            return (Criteria) this;
        }

        public Criteria andSignupCountNotBetween(Integer value1, Integer value2) {
            addCriterion("signup_count not between", value1, value2, "signupCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountIsNull() {
            addCriterion("comment_count is null");
            return (Criteria) this;
        }

        public Criteria andCommentCountIsNotNull() {
            addCriterion("comment_count is not null");
            return (Criteria) this;
        }

        public Criteria andCommentCountEqualTo(Integer value) {
            addCriterion("comment_count =", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountNotEqualTo(Integer value) {
            addCriterion("comment_count <>", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountGreaterThan(Integer value) {
            addCriterion("comment_count >", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("comment_count >=", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountLessThan(Integer value) {
            addCriterion("comment_count <", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountLessThanOrEqualTo(Integer value) {
            addCriterion("comment_count <=", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountIn(List<Integer> values) {
            addCriterion("comment_count in", values, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountNotIn(List<Integer> values) {
            addCriterion("comment_count not in", values, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountBetween(Integer value1, Integer value2) {
            addCriterion("comment_count between", value1, value2, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountNotBetween(Integer value1, Integer value2) {
            addCriterion("comment_count not between", value1, value2, "commentCount");
            return (Criteria) this;
        }

        public Criteria andLowestPriceIsNull() {
            addCriterion("lowest_price is null");
            return (Criteria) this;
        }

        public Criteria andLowestPriceIsNotNull() {
            addCriterion("lowest_price is not null");
            return (Criteria) this;
        }

        public Criteria andLowestPriceEqualTo(Double value) {
            addCriterion("lowest_price =", value, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceNotEqualTo(Double value) {
            addCriterion("lowest_price <>", value, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceGreaterThan(Double value) {
            addCriterion("lowest_price >", value, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("lowest_price >=", value, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceLessThan(Double value) {
            addCriterion("lowest_price <", value, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceLessThanOrEqualTo(Double value) {
            addCriterion("lowest_price <=", value, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceIn(List<Double> values) {
            addCriterion("lowest_price in", values, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceNotIn(List<Double> values) {
            addCriterion("lowest_price not in", values, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceBetween(Double value1, Double value2) {
            addCriterion("lowest_price between", value1, value2, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andLowestPriceNotBetween(Double value1, Double value2) {
            addCriterion("lowest_price not between", value1, value2, "lowestPrice");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreIsNull() {
            addCriterion("place_score is null");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreIsNotNull() {
            addCriterion("place_score is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreEqualTo(Double value) {
            addCriterion("place_score =", value, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreNotEqualTo(Double value) {
            addCriterion("place_score <>", value, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreGreaterThan(Double value) {
            addCriterion("place_score >", value, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreGreaterThanOrEqualTo(Double value) {
            addCriterion("place_score >=", value, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreLessThan(Double value) {
            addCriterion("place_score <", value, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreLessThanOrEqualTo(Double value) {
            addCriterion("place_score <=", value, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreIn(List<Double> values) {
            addCriterion("place_score in", values, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreNotIn(List<Double> values) {
            addCriterion("place_score not in", values, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreBetween(Double value1, Double value2) {
            addCriterion("place_score between", value1, value2, "placeScore");
            return (Criteria) this;
        }

        public Criteria andPlaceScoreNotBetween(Double value1, Double value2) {
            addCriterion("place_score not between", value1, value2, "placeScore");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlIsNull() {
            addCriterion("biz_place_url is null");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlIsNotNull() {
            addCriterion("biz_place_url is not null");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlEqualTo(String value) {
            addCriterion("biz_place_url =", value, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlNotEqualTo(String value) {
            addCriterion("biz_place_url <>", value, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlGreaterThan(String value) {
            addCriterion("biz_place_url >", value, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlGreaterThanOrEqualTo(String value) {
            addCriterion("biz_place_url >=", value, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlLessThan(String value) {
            addCriterion("biz_place_url <", value, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlLessThanOrEqualTo(String value) {
            addCriterion("biz_place_url <=", value, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlLike(String value) {
            addCriterion("biz_place_url like", value, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlNotLike(String value) {
            addCriterion("biz_place_url not like", value, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlIn(List<String> values) {
            addCriterion("biz_place_url in", values, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlNotIn(List<String> values) {
            addCriterion("biz_place_url not in", values, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlBetween(String value1, String value2) {
            addCriterion("biz_place_url between", value1, value2, "bizPlaceUrl");
            return (Criteria) this;
        }

        public Criteria andBizPlaceUrlNotBetween(String value1, String value2) {
            addCriterion("biz_place_url not between", value1, value2, "bizPlaceUrl");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}